package com.designpatterns.command.command;

import com.designpatterns.command.receiver.Receiver;

/**
 * Command Abstract Class
 * @see Receiver
 * 
 * @author Haiqi.Wang
 * @since 2013-6-9下午1:16:52
 */
public abstract class Command {

	protected Receiver receiver;

	/**
	 * Arguments Constructor
	 * 
	 * @param receiver
	 *            {@link Receiver}
	 */
	public Command(Receiver receiver) {
		this.receiver = receiver;
	}

	/**
	 * execute abstract Method
	 */
	public abstract void execute();

}
